--[[ * 限制获得的属性id，参数就属性id，可以多填]]

---@class BuffEffect92055100 : BaseBuffEffect
BuffEffect92055100 = ClientFight.CreateClass("BuffEffect92055100", ClientFight.BaseBuffEffect)
local t = BuffEffect92055100
t.BuffEffect92055100 = "BuffEffect92055100";
---@param fight Fight
---@param buff FighterBuff
function t:add(fight, buff)
    local target = buff.target;
    local limitAttr = {};
    local buffEffectValue = buff.buffBean.f_BuffEffectValue;
    for k, type in pairs(buffEffectValue) do
        local anEnum = FighterAttributeEnum.valueOf(type);
        if (anEnum ~= FighterAttributeEnum.NONE) then
            table.insert(limitAttr, anEnum);
        end
    end
    SkillRoleMgr.savePathFile("[" .. fight.frame .. "][EFFECT]Fighter " .. buff.target.fighterId .. " Buff"
            .. buff.modelId .. " 限制属性获得 " .. getJsonStr(limitAttr));
    target.parametersByObject[t.BuffEffect92055100] = limitAttr;
    return ClientFight.BaseBuffEffect.add(self, fight, buff);
end

t.New()